<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/Public/css/bootstrap.min.css" rel="stylesheet">
    <script src="/Public/js/jquery-1.11.1.min.js"></script>
    <script src="/Public/js/bootstrap.min.js"></script>
    <style>
        html,body,ul,ul li{margin: 0;padding: 0;border:0;}
        ul{list-style: none;}
        ul a{display: block;text-decoration: none;}
        ul a:hover{text-decoration: underline;}

        .a{
            background:url("/test/xiangmu/images/xinwen.png") center no-repeat;
            height: 998px;
            position: relative;
        }
        .b{
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -500px;
            margin-left: -30px;
        }
    </style>
</head>
<body>
<div class="a">
    <div class="b"><h2 style=" font-family: MS PGothic;">新闻</h2></div>
    <div class="panel panel-primary" style="width: 50%;position: absolute;top:50%;left: 50%;margin-left: -370px;margin-top: -370px">
        <div class="panel-heading" >
            <span><a href="{:U('/Xm/xinwen')}" style="color: white">新闻主页</a></span>
            <span class="pull-right"><a href="{:U('/Xm/login')}" style="color: white">登录管理</a></span>
            <span class="pull-right"><a href="{:U('/Xm/tianjia')}" style="color: white;padding-right: 50px">添加新闻</a></span>
        </div>
        <div class="panel-body"  style="text-align: center">
            <div><h2>{$Think.request.title}</h2></div>
            <div>{$Think.request.content}</div>
            <div>编辑人用户名：{$data}</div>
        </div>
    </div>
</div>
</body>
</html>